package com.niit.blog.entity.Dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class BlogClientDto {
    /*博客id*/
    private Long blogId;

    /*博客标题*/
    private String blogTitle;

    /*博客自定义路径url*/
    private String blogSubUrl;

    /*博客内容*/
    private String blogContent;

    /*博客分类id*/
    private Integer blogCategoryId;

    /*博客分类名称*/
    private String blogCategoryName;
    /*博客标签*/
    private String blogTags;
    /*阅读量*/
    private Long blogViews;
    /*0-允许评论 1-不允许评论*/
    private Byte enableComment;
    /*是否删除 0=否 1=是*/
    private Byte isDeleted;
    /*添加时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //关键词
    private String keyWord;

    private String createuser;
}
